package br.com.agenda.dao;

import java.util.List;

import org.apache.tapestry5.hibernate.annotations.CommitAfter;

import br.com.agenda.entities.Contato;
import br.com.agenda.entities.Telefone;

public interface ContatoDAO extends GenericDAO {
	@CommitAfter
	public String gravarComTelefones(Contato contato, List<Telefone> telefones);
	Contato findContatoByEmail(String email);
}
